package com.x.erp.model;

import com.x.framework.annotation.MappingColumn;
import com.x.framework.annotation.MappingTable;
import com.x.framework.model.BaseObject;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 多级营销分享
 */
@MappingTable(tableName = "erp_multilevel_activity_reward")
public class MultilevelActivityReward extends BaseObject{

	@MappingColumn(columnName = "REWARD_ID", columnPk = true, columnLength = 32)
	private String rewardId;// 奖励id

	@MappingColumn(columnName = "REWARD_TOTAL_LEVEL")
	private Integer rewardTotalLevel;// 奖励总级别

	@MappingColumn(columnName = "REWARD_LEVEL")
	private Integer rewardLevel;// 奖励级别

	@MappingColumn(columnName = "REWARD_RATIO")
	private BigDecimal rewardRatio;// 奖励占比

	@MappingColumn(columnName = "REWARD_CREATE_TIME")
	private Date rewardCreateTime;// 创建时间

	@MappingColumn(columnName = "REWARD_UPDATE_TIME")
	private Date rewardUpdateTime;// 修改时间

	public String getRewardId() {
		return rewardId;
	}

	public void setRewardId(String rewardId) {
		this.rewardId = rewardId;
	}

	public Integer getRewardTotalLevel() {
		return rewardTotalLevel;
	}

	public void setRewardTotalLevel(Integer rewardTotalLevel) {
		this.rewardTotalLevel = rewardTotalLevel;
	}

	public Integer getRewardLevel() {
		return rewardLevel;
	}

	public void setRewardLevel(Integer rewardLevel) {
		this.rewardLevel = rewardLevel;
	}

	public BigDecimal getRewardRatio() {
		return rewardRatio;
	}

	public void setRewardRatio(BigDecimal rewardRatio) {
		this.rewardRatio = rewardRatio;
	}

	public Date getRewardCreateTime() {
		return rewardCreateTime;
	}

	public void setRewardCreateTime(Date rewardCreateTime) {
		this.rewardCreateTime = rewardCreateTime;
	}

	public Date getRewardUpdateTime() {
		return rewardUpdateTime;
	}

	public void setRewardUpdateTime(Date rewardUpdateTime) {
		this.rewardUpdateTime = rewardUpdateTime;
	}
}
